<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="__PUBLIC__/css/bootstrap.min.css" />
<load href="__PUBLIC__/css/main.css" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<load href="__PUBLIC__/js/main.js" />
</head>

<body>
<!-- 图片资源开始 -->
<div class="floatBackground" id="floatBackground" style="display: none;">
	<div class="bounced">
	<label class="closeImgResurces">X</label>
	<iframe id="imgResourcesiframe" src="{:rtrim(U('Upload/index'),'.html')}" width="750" height="465" frameborder="0" scrolling="auto"></iframe>
	</div>
</div>
<!-- 图片资源结束 -->
<!-- 模板页 -->
<div class="tpl_illustrate"><span>模板样式</span><iframe id="tpl_iframe" class="tpl_iframe" frameborder="0" scrolling="yes" src=""></iframe></div>

<div class="main-frame">
	<div class="position">华人码 > 创建华人码</div>
	<div class="addobject">
		<div class="obj-form">
			<form name="form1" id="typeform1" action="{:U('Type/typeadd')}" method="post" class="form-inline">
				<ul>
					<li>
						<label class="fl tle">码台标题：</label>
						<span class="fl cnt"><input name="typename" class="form-control" placeholder="标题"><em>*</em></span>
					</li>
					<li>
						<label class="fl tle">模板选择：</label>
				    	<span class="fl cnt">
					    	<select name="template" class="template form-control" style="width: 300px; padding: 0px 6px;">
								<volist name="tpl" id="v">
									<in name="v['key']" value="$Think.session.userinfo.tplrbac">
										<option value="{$v['idx']}">{$v['name']}{$v['des']}</option>
									</in>
								</volist>
							</select>
							<em>*</em>
				    	</span>
					</li>
					<!--<li>
						<label class="fl tle">domainID：</label>
						<span class="fl cnt"><input name="domainid" class="form-control" placeholder="domainid"><em> <font>关联旧版的domainID</font></em></span>
					</li>-->
					<li class="oline" style="width:100%;"><span class="dividerline"></span></li>
					<li><label class="fl tle" style="font-weight: bold; font-size: 16px; width: 600px;">选择模块（勾选模块可在右侧预览效果）</label></li>
					<li>
						<label class="fl tle">模块名称：</label>
						<span class="fl cnt">
							<ul class="platecss">
								<volist name="plate" id="tl">
									<li><input class="select_plate" type="checkbox" value="{$tl['id']}" name="plate_id[]" style="width: auto;" /> {$tl['plate_name']}</li>
								</volist>
							</ul>
						</span>
					</li>

					<li class="oline" style="width:100%;"><span class="dividerline"></span></li>
					<li><label class="fl tle" style="font-weight: bold; font-size: 16px;">其他参数</label></li>
					<li>
						<label class="fl tle">状态显示：</label>
						<span class="fl cnt">
							<input class="radio" type="radio" name="state" value="1" checked="checked"> 开启
							&nbsp;&nbsp;&nbsp;&nbsp;<input class="radio" type="radio" name="state" value="0"> 关闭
						</span>
					</li>
					<li style="display: none;">
						<label class="fl tle">导航显示：</label>
						<span class="fl cnt">
							<input class="radio" type="radio" name="isbottom" value="1"> 下
							&nbsp;&nbsp;&nbsp;&nbsp;<input class="radio" type="radio" name="isbottom" value="0" checked="checked"> 上
							&nbsp;&nbsp;&nbsp;&nbsp;<input class="radio" type="radio" name="isbottom" value="2" checked="checked"> 都不显示
						</span>
					</li>
					<li class="submit">
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt"><input type="submit" value="创 建" class="submitbtn" /> <a href="{:U('Index/main')}">取消并查看列表</a></span>
					</li>
				</ul>
			</form>
		</div>
		<div class="obj-previewimg">
			<div class="instructions">
				<div class="rotation">
					<volist name="tpl" id="v">
						<in name="v['key']" value="$Think.session.userinfo.tplrbac">
							<div class="thumbpreview"><img src="__IMG__/test{$v['key']}.jpg" /></div>
						</in>
					</volist>
				</div>
				<b>操作说明：</b><br>
				1、带有红色  “ * ” 项必填<br>
				2、domainID(关联旧版的domainID)<br>
				3、企业名称是为了看清楚此码是为哪个企业服务<br>
				4、保存之后将返回列表页面，以方便其他操作
			</div>
		</div>
	</div>

</div>
</body>
</html>
